package me.minecraft.plugin.itemsave.config;

import lombok.Getter;
import me.minecraft.plugin.itemsave.ItemSave;

/**
 * @author langle__
 * @version 1.0
 */
@Getter
public class MessageConfig extends BaseConfig {

    public static final MessageConfig INSTANCE = new MessageConfig();

    private String commonNoPermission;
    private String reload;

    public MessageConfig() {
        super(ItemSave.instance, "message.yml");
        saveDefault();
    }

    @Override
    public void load() {
        super.load();
        commonNoPermission = getString("command.no_permission", "[§6ItemSave§f] §c你没有权限执行此命令");
        reload = getString("command.reload", "[§6ItemSave§f] §a已重载配置文件");
    }

}